package pers.vic.dubbo.provider.service;

import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;
import pers.vic.dubbo.common.api.Provider2Interface;

/**
 * 描述:
 * @author Vic.xu
 * @date 2022-01-04 13:35
 */
@Service
public class ProviderTestService implements Provider2Interface{

    @DubboReference(version = "2.0.0")
    private Provider2Interface provider2Interface;

    @Override
    public int justAdd(int num, int added) {
        return provider2Interface.justAdd(num, added);
    }


}
